#include <stdio.h>
#include <stdbool.h>

int main(int argc, char *argv[])
{
    bool a = true;
    bool b = false;

    printf("a = %d b = %d\n", a, b);


    if(a && b) {
        printf("a && b is true\n");
    } else {
        printf("a && b is false\n");
    }
    
    if(a || b) {
        printf("a || b is true\n");
    } else {
        printf("a || b is false\n");
    }

    if(!a) {
        printf("!a is true\n");
    } else {
        printf("!a is false\n");
    }

    return 0;
}
